﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace RuoVea.GoFastdfs.Entity
{

    /// <summary>
    /// user用户表实体类
    /// </summary>
    [Table("gpf_user")]
   public class UserEntity
    {
        [Key, Required]
        [DatabaseGenerated(DatabaseGeneratedOption.Identity)]
        [Column("id"), DisplayName("主键")]
        public int id { get; set; }
        [Column("account")]
        public String account { get; set; }
        public String password { get; set; }
        public String name { get; set; }

        [Column("credentials_salt")]
        public String credentialsSalt { get; set; }
        public String email { get; set; }

        [Column("create_time")]
        public DateTime createTime { get; set; }

        [Column("update_time")]
        public DateTime updateTime { get; set; }

        [Column("peers_id")]
        public DateTime peersId { get; set; }
    }
}
